//
//  TiXianSuccessVC.m
//  BrushFace
//
//  Created by timer_q on 16/2/26.
//  Copyright © 2016年 Zzz. All rights reserved.
//

#import "TiXianSuccessVC.h"

@interface TiXianSuccessVC ()
{
    NSString *_nick;
    CGFloat _money;
}
@end

@implementation TiXianSuccessVC
- (void)nickName:(NSString *)nickName andMoney:(CGFloat)money{
    _nick = nickName;
    _money = money;

}
- (void)viewWillAppear:(BOOL)animated{
    [super viewWillAppear:animated];
    self.moneyLabel.text = [NSString stringWithFormat:@"%.2f元",_money];
    self.nickNameLabel.text = [NSString stringWithFormat:@"微信零钱 (%@)",_nick];
}
- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    [self.navBar setTitle:@"提现详情"];
    [self.navBar setLeftBtn:NAV_BAR_LEFT_BTN_TYPE_BLUE];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/
- (IBAction)backBtnClick:(id)sender {
    [self.navigationController popViewControllerAnimated:YES];
}

@end
